package org.ikross.twitter.session;

import java.security.KeyStore;

public class SessionFactory {
	
	private SessionFactory(){
		
	}
	
	public static Session createSession(String userName, KeyStore.PasswordProtection password){
		Session session = new Session();
		session.setUserName(userName);
		session.setPassword(password);
		return session;
	}
	
	public static Session createSession(){
		return new Session();
	}
}